﻿using ERP.Common.Util.Interfaces;
using ERP.SYS.Model.Entity;
using Microsoft.AspNetCore.Mvc;
using UERP.Common.Util.Model;

namespace ERP.SYS.Interfaces;

public interface IUserService : IBaseService<SysUser>
{
    PagedList<SysUser> GetUsers(string name = "", int page = 1, int pageSize = 10);
    Task<SysUser> SelectNameAndPassword(string name, string password);
    Task<SysUser> UserInfo(int userId);
}
